* {
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #fff;
}
ul{
    list-style: none;
}
/* 头部 */
.header{
    background-color: black;
}
.head{
    width: 1190px;
    line-height: 40px;
    height: 40px;
    font-size: 12px;
    margin: 0 auto;
}
.header li{
    display: inline-block;
    color: #fff;
    margin: 0 10px;
}
.Left-ul,.Right-ul{
    height: 40px;
}
.Left-ul{
    float: left;
}
.Left-ul li{
    position: relative;
}
.Left-ul li img{
    position: absolute;
    top: 40px;
    left: 0;
    display: none;
}
.Left-ul li:hover img{
    display: inline-block;
}
.Right-ul{
    float: right;
}
.Right-ul a:hover{
    color: rgb(129, 127, 127);
}

.iconfont{
    font-size: 12px;
}

// 进度条
#cart-top {
    width: 990px;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;

    p {
        margin-top: 20px;
        float: left;
    }

    ul {
        list-style: none;
        float: right;
        margin-top: 40px;

        li {
            float: left;
            font-size: 12px;
            width: 200px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            background-color: rgb(232, 232, 232);
            border-left: 2px solid white;
        }

        .li1 {
            background-color: rgb(51, 51, 51);
            color: #fff;
        }
    }
}

// 购物车
#card-good {
    width: 930px;
    padding: 30px;
    border: 1px solid #f1f1f1;
    margin: 0 auto;

    .good-inner {
        width: 400px;
        height: 145px;
        margin: 0 auto;

        .good-left {
            float: left;

            img {
                width: 60px;
                height: 60px;
            }
        }

        .good-right {
            float: left;
            font-size: 12px;
            margin-left: 20px;

            p {
                margin-top: 10px;
            }

            .go-index {
                width: 90px;
                height: 30px;
                text-align: center;
                line-height: 30px;
                background-color: #000;
                color: #fff;
                font-weight: bolder;
                border-radius: 5px;
                margin-top: 10px;
            }
        }
    }

    .first{
        border-bottom: 1px solid #f1f1f1;
        width: 930px;
        .tr1 {
            width: 930px;
            height: 30px;
            font-size: 12px;
            color: rgb(116, 113, 113);
           
    
            td {
                line-height: 30px;
                text-align: center;
            }
    
            td:nth-child(1) {
                width: 70px;
            }
    
            td:nth-child(2) {
                width: 350px;
            }
    
            td:nth-child(3) {
                width: 100px;
            }
            td:nth-child(4) {
                width: 100px;
            }
            td:nth-child(5) {
                width: 100px;
            }
            td:nth-child(6) {
                width: 100px;
            }
            td:nth-child(7) {
                width: 120px;
            }
        }
    }
    ul{
        list-style: none;
        width: 930px;
        height: 110px;
        font-size: 12px;
        border-bottom: 1px solid #f1f1f1;
        li{
            float: left;
            height: 110px;
            text-align: center;
            line-height: 110px;
        }
        li:nth-child(1){
            width: 110px;
            img{
                width: 60px;
                height: 60px;
                margin-top: 20px;
                border: 1px solid #f1f1f1;
            }
        }
        li:nth-child(2){
            width: 300px;
            line-height: 20px;
            height: 80px;
            margin-top: 30px;
        }
        li:nth-child(3){
            width: 94px;
            line-height: 20px;
            height: 80px;
            margin-top: 30px;
        }
        li:nth-child(4){
            width: 105px;
        }
        li:nth-child(5){
            width: 105px;
            input{
                width: 20px;
                height: 20px;
                outline: none;
                text-align: center;
            }
           
        }
        li:nth-child(6){
            width: 80px;
            font-size: 16px;
            font-weight: bolder;
        }
        li:nth-child(7){
            width: 135px;
            line-height: 20px;
            height: 80px;
            margin-top: 30px;
        }
        a{
            text-decoration: none;
            color: #000;
        }
    }
    .wrap{
        width: 100%;
        height: 60px;
        line-height: 60px;
        font-size: 12px;
        span{
            margin-right: 50px;
        }
        a{
            text-decoration: none;
            color: #000;
        }
    }
    .pay{
        width: 100%;
        height: 60px;
        background-color: rgb(238,238,238);
        line-height: 60px;
        button{
            background-color: #000;
            color: #fff;
            margin-left: 20px;
            padding: 0 5px;
            cursor: pointer;
        }
        span{
            margin-left: 395px;
            font-size: 12px;
            b{
                font-size: 20px;
            }
        }
        input{
            float: right;
            height: 60px;
            width: 130px;
            background-color: #000;
            color: #fff;
            cursor: pointer;
            outline: none;
        }
        input:hover{
            background-color:rgb(70,70,70) ;
        }
    }
}

// 提示信息
#card-message {
    width: 990px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 20px;
    margin-top: 10px;
    p {
        text-align: right;
        color: rgb(43, 29, 29);
    }
}

h3 {
    width: 990px;
    margin: 0 auto;
    font-weight: 500;
    margin-top: 50px;
}

// 推荐商品
#cart-recommend {
    width: 990px;
    height: 600px;
    padding: 15px 0px;
    border: 1px solid #f1f1f1;
    margin: 0 auto;
    margin-top: 20px;

    .top {
        width: 970px;
        height: 20px;
        line-height: 20px;
        text-align: right;
        color: rgb(146, 144, 144);
        font-size: 12px;
    }

    .recommend-inner {
        width: 990px;
        height: 580px;

        .left,
        .right {
            width: 20px;
            float: left;
            height: 580px;
            line-height: 580px;
            font-size: 20px;

            a {
                text-decoration: none;
                color: #000;
            }
        }

        .center {
            float: left;
            width: 950px;
            height: 580px;

            .good {
                width: 190px;
                height: 290px;
                text-align: center;
                font-size: 12px;
                line-height: 20px;
                color: rgb(94, 91, 91);

                .new {
                    font-size: 16px;
                    color: #000;
                }

                .old {
                    color: #ccc;
                }
            }
        }
    }
}

// 底部
#cart-footer {
    width: 990px;
    height: 70px;
    margin: 0 auto;
    margin-top: 20px;
    border-top: 1px solid #f1f1f1;

    p {
        text-align: center;
        margin-top: 20px;
        font-size: 12px;
        color: rgb(107, 105, 105);
    }
}